package com.hitqz.robot.api.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


@TableName(value = "form_config")
@Data
public class FormConfig {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "表单名称[后端使用,英文]")
    @NotBlank(message = "表单名称不能为空")
    private String formName;
    @Schema(description = "表单标题[前端显示,中文]")
    @NotBlank(message = "表单名称不能为空")
    private String formTitle;
    @Schema(description = "表单描述")
    private String formDescription;

}
